<!-- 待约面-约面 -->
<template>
  <div class="btns">

    <Button v-auth="'waitEntryByDeatil'" color="success" @click="entry" >入职</Button>
    <Button v-auth="'waitEntryTerminate'" color="warning" @click="surrender">放弃</Button>
  </div>
</template>

<script setup lang='ts'>
import { Button } from "@/components/Button";
const emits = defineEmits(['surrender'])

const surrender = () => {
  console.log('surrender')
  emits('surrender', '二次面试')
}
 

const entry =()=>{
  console.log('入职','entry')
}



</script>
<style lang="less" scoped>
.btns {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
</style>